POV-Ray : Newsgroups : povray.binaries.utilities : modelling environment without modeller : Re: modelling environment without modeller Server Time
17 Jun 2024 11:10:46 EDT (-0400)
  Re: modelling environment without modeller  
From: Shay
Date: 26 Apr 2001 13:15:13
Message: <3ae857a1@news.povray.org>
Where can I get this macro?

 Shay

Wlodzimierz ABX Skiba <abx### [at] abxartpl> wrote in message
news:3aa507b9@news.povray.org...
> I know that POV-Ray is raytracer not modeller but ...
> I want share my new tool - macro for MegaPOV and its children. It takes
base
> object and creates environment for modelling : views, grids, camera,
background,
> lights, size of image. It could be usefull for many usage: prepare prints
for
> paint uv-maps, hand-code models, investigate best bounding (with margin
0).
>
> Syntax of typical scenefile is:
>   #include "modeling.inc"
>   #declare MyObject=object{any proper definition}
>   display_project(MyObject,Margin,GridSize,Lights,BkColor)
>
> Here is description of parameters:
> - MyObject
>     declared our object in POV-units
> - Margin
>     space between view and border of image
>     and between views, it is declared in POV-units
> - GridSize
>     distance between gridlines in POV-units
>     if GridSize < 0 than gridlines are over views
>     if GridSize > 0 than gridlines are below views
>     if GridSize = 0 than gridlines are off
>     grid lines are 1 pixel wide
> - Lights
>     if Lights<=0 than one parallel light is used
>     if Lights>0 than arealight is used to underline convexity
>     value of positive Lights describe size of area_light
> - BkColor
>     describes background color of image and as negation
>     describes color of grid
>
> image sizes are recalculated to fullfill area passed in +H and +W but to
save
> time of rendering unused area
>
> sample image just sended to p.b.images
>
> any comments ?
>
> ABX
>
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.